package com.caopeng.javaee.dao;

import com.caopeng.javaee.entity.course;
import com.caopeng.javaee.entity.work;
import com.caopeng.javaee.entity.teacher;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.io.Serializable;
import java.util.List;

public interface WorkJpa extends JpaSpecificationExecutor<work>, Serializable, JpaRepository<work,Integer> {
    List<work> findByCourseId(String courseid);
}
